<form id="pagerForm" action="jms/project_select" onsubmit="return navTabSearch(this)" method="post">
    <input type="hidden" name="pageNum" value="${(pager.pageNumber)!}" />
    <input type="hidden" name="numPerPage" value="${(pager.pageSize)!}" />
</form>
<div class="pageHeader">

    <form id="searchForm" rel="pagerForm" onsubmit="return navTabSearch(this);" action="jms/project_select" method="post">
        <div class="searchBar">
            <table class="searchContent">
                <tr>
                    <td>
                        <label>需求名称：</label>
                        <input type="text" size="20" name="demand.name" value="${(name)!}" />
                    </td>

                    <td>
                        <label>负责人：</label>
                        <select name="demand.demandOwner" class="combox">
                            <option value="">---请选择---</option>
                            <#list customerList as s>
                                <option value="${(s.owner)!}" <#if (demandOwner)?? && demandOwner==s.owner>selected="selected"</#if>>${(s.owner)!}</option>
                            </#list>
                        </select>
                    </td>

                    <td>
                        <label>区县：</label>
                        <select name="demand.homeCounty" class="combox">
                            <option value="">---请选择---</option>
                            <#list homeCountyList as s>
                                <option value="${(s.name)!}" <#if (homeCounty)?? && homeCounty==s.name>selected="selected"</#if>>${(s.name)!}</option>
                            </#list>
                        </select>
                    </td>

                    <td>
                        <label>站址筛查：</label>
                        <select name="demand.isSelect" class="combox">
                            <option value="">---请选择---</option>
                            <option value="是" <#if (isSelect)?? && isSelect=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isSelect)?? && isSelect=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>


                </tr>

                <tr>
                    <td>
                        <label>移动需求：</label>
                        <select name="demand.isCm" class="combox">
                            <option value="">---请选择---</option>
                            <option value="是" <#if (isCm)?? && isCm=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isCm)?? && isCm=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>
                    <td>
                        <label>电信需求：</label>
                        <select name="demand.isCt" class="combox">
                            <option value="">---请选择---</option>
                            <option value="是" <#if (isCt)?? && isCt=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isCt)?? && isCt=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>
                    <td>
                        <label>联通需求：</label>
                        <select name="demand.isCu" class="combox">
                            <option value="">---请选择---</option>
                            <option value="是" <#if (isCu)?? && isCu=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isCu)?? && isCu=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>
                    <td>
                        <label>需求类型：</label>
                        <select name="demand.demandType" class="combox">
                            <option value="">---请选择---</option>
                            <option value="考核" <#if (demandType)?? && demandType=='考核'> selected="selected"</#if>>考核</option>
                            <option value="规划" <#if (demandType)?? && demandType=='规划'> selected="selected"</#if>>规划</option>
                            <option value="疑难" <#if (demandType)?? && demandType=='疑难'> selected="selected"</#if>>疑难</option>
                            <option value="高速" <#if (demandType)?? && demandType=='高速'> selected="selected"</#if>>高速</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label>初筛通过：</label>
                        <select name="demand.isSelPass" class="combox">
                            <option value="">---请选择---</option>
                            <option value="是" <#if (isSelPass)?? && isSelPass=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isSelPass)?? && isSelPass=='否'> selected="selected"</#if>>否</option>
                        </select>

                    </td>
                    <td>
                        <label>筛查确认：</label>
                        <select name="demand.isSelectConfirm" class="combox">
                            <option value="">---请选择---</option>
                            <option value="是" <#if (isSelectConfirm)?? && isSelectConfirm=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isSelectConfirm)?? && isSelectConfirm=='否'> selected="selected"</#if>>否</option>
                        </select>

                    </td>
                    <td>
                        <label>是否任务：</label>
                        <select name="demand.isTask" class="combox">
                            <option value="">---请选择---</option>
                            <option value="是" <#if (isTask)?? && isTask=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isTask)?? && isTask=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>
                    <td>
                        <label>是否取消：</label>
                        <select name="demand.isCancel" class="combox">
                            <option value="">---请选择---</option>
                            <option value="是" <#if (isCancel)?? && isCancel=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isCancel)?? && isCancel=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>

                </tr>
                <tr>
                    <td>
                        <label>需求批次：</label>
                        <input type="text" size="20" name="demand.demandMemo" value="${(demandMemo)!}" />
                    </td>
                    <td>
                        <div class="button"><div class="buttonContent"><button type="submit">查询</button></div></div>
                    </td>
                </tr>


            </table>
        </div>
    </form>
</div>

<div class="pageContent" style="padding:0px">
    <div class="panelBar">
        <ul class="toolBar">
            <li><a class="edit" href="jms/project_select/edit?id={sid_obj}" width="850" height="430" target="dialog" mask="true"><span>站址筛查</span></a></li>
            <li class="line">line</li>
            <li><a class="add" href="jms/project_select/sel?id={sid_obj}" width="850" height="370" target="dialog" mask="true"><span>筛查确认</span></a>
                <a class="add" href="jms/project_select/transConfirm"  target="selectedTodo" rel="ids"  title="确认转订单？">批量确认</a>
            </li>
            <li class="line">line</li>
            <li><a class="delete" href="jms/project_demand/delete"  target="selectedTodo" rel="ids"  title="确认删除？"><span>删除</span></a></li>
            <li class=""><a class="icon" href="jms/project_select/export" target="dwzExport" targettype="navTab" title="实要导出这些记录吗?"><span>筛查清单导出</span></a></li>
            <li class="line">line</li>
            <li><a class="add" href="jms/project_select/add" width="450" height="560" target="dialog" mask="true"><span>区域需求录入</span></a></li>

        </ul>
    </div>


    <table class="table" layoutH="190">
        <thead>
        <tr>
            <th width="60" align="left"><input type="checkbox" group="ids" class="checkboxCtrl"/>行号</th>
            <th width="40" align="center">区县</th>
            <th width="160" align="left">站点名称</th>
            <th width="80">需求负责</th>
            <th width="80">站点类型</th>
            <th width="80">需求类型</th>
            <th width="60">是否任务</th>
            <th width="60" align="center">建设方式</th>
            <th width="80" align="center">需求情况</th>
            <th width="60" align="center">站址筛查</th>
            <th width="100" align="center">筛查时间</th>
            <th width="100" align="center">初筛通过</th>
            <th width="60" align="center">筛查确认</th>
            <th width="100" align="center">筛查确认时间</th>
            <th width="100" align="center">存在问题</th>

        </tr>
        </thead>
        <tbody>
        <#list pager.list as demand>
            <tr target="sid_obj" rel="${(demand.id)!}" ondblclick="migr.baseMoudleDblick(this)">
                <td align="left">
                    <input name="ids" type="checkbox" value="${(demand.id)!}"/>
                    ${demand_index + 1}
                </td>
                <td>${(demand.homeCounty)!} </td>
                <td>${(demand.name)!}</td>
                <td>${(demand.demandOwner)!}</td>
                <td>${(demand.towerType)!}</td>
                <td>${(demand.demandType)!}</td>
                <td>${(demand.isTask)!}</td>
                <td>${(demand.share)!}</td>
                <td><#if (demand.isCm)! == '是'>移动</#if><#if (demand.isCt)! == '是'>电信</#if><#if (demand.isCu)! == '是'>联通</#if></td>
                <td align="left">${(demand.isSelect)!} </td>
                <td align="left">${(demand.selectDate?string("yyyy-MM-dd"))!} </td>
                <td align="left">${(demand.isSelPass)!} </td>
                <td align="left">${(demand.isSelectConfirm)!} </td>
                <td align="left">${(demand.selectConfirmDate?string("yyyy-MM-dd"))!} </td>
                <td align="left">${(demand.selectMemo)!} </td>
            </tr>
        </#list>
        </tbody>
    </table>

    <div class="panelBar">
        <div class="pages">
            <span>显示</span>
            <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
                <option value="20" <#if pager.pageSize == 20> selected</#if>>20</option>
                <option value="50" <#if pager.pageSize == 50> selected</#if>>50</option>
                <option value="100"<#if pager.pageSize == 100> selected</#if>>100</option>
                <option value="200"<#if pager.pageSize == 200> selected</#if>>200</option>
            </select>
            <span>条，共<font style="color:red;font-weight:bold;">${pager.totalRow!}</font>条，共<font style="color:red;font-weight:bold;">${pager.totalPage!}</font>页&nbsp;&nbsp;&nbsp;&nbsp;</span>
        </div>
        <div class="pagination" targetType="navTab" totalCount="${pager.totalRow!}" numPerPage="${pager.pageSize!}" pageNumShown="10" currentPage="${pager.pageNumber!}"></div>
    </div>


</div>

